﻿using DeepEarth.Toolkit.Common;
using System.Windows.Controls;
using System.Windows;

namespace DeepEarth.Toolkit.Controls
{
	public class TreeGridView : TreeView
	{
		protected override DependencyObject GetContainerForItemOverride()
		{
			return new TreeGridViewItem();
		}

		protected override bool IsItemItsOwnContainerOverride(object item)
		{
			return item is TreeGridViewItem;
		}
	}
}
